package com.kantboot.business.water.service;

import com.kantboot.business.water.domain.dto.BusWaterGoodsDTOInClient;
import com.kantboot.business.water.domain.entity.BusWaterGoods;
import com.kantboot.util.core.param.PageParam;
import com.kantboot.util.core.result.PageResult;

import java.util.List;

public interface IBusWaterGoodsService {

    PageResult getBodyData(PageParam<BusWaterGoods> param);

    PageResult getBodyDataClient(PageParam<BusWaterGoodsDTOInClient> param);

    BusWaterGoods getById(Long id);

    /**
     * 批量删除
     */
    void removeBatch(List<BusWaterGoods> list);

    /**
     * save
     */
    void save(BusWaterGoods goods);

    /**
     * 给商品添加销量
     */
    void addSalesVolume(Long id, Long salesVolume);

}
